package com.ltxtiyu.video.dao.ltx;

import com.ltxtiyu.video.entity.Manager;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ManagerDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Manager record);

    Manager checkUsernameAndPassword(Map<String, Object> param);

    Manager findByUserName(String username);

    int findByParamCount(Map<String, Object> map);

    List<Manager> findByParamList(Map<String, Object> map);
}